import baseModel from './baseModel'

class profileModel extends baseModel {

    constructor(options) {
        super(options);
    }
    profileCurrentList(profileId){
        let url = `/api/line/jrxNew/${profileId} `;
        return this.$get(url);
    }
    profilePointCurrentList(pointId){
        let url = `/api/line/pointData/${pointId} `;
        return this.$get(url);
    }
    profileAllList(profileId){
        let url = `/api/line/jrx/${profileId} `;
        return this.$get(url);
    }
    kzbList(pointId){
        let url = `/api/export/text/${pointId} `;
        return this.$get(url);
    }
    kzbListExport(pointId){
        let url = `/api/export/textual/${pointId} `;
        return this.$get(url);
    }
    kzbTempReportExport(){
        let url = `/api/export/table-model`;
        return this.$get(url);
    }
    //http://39.106.34.181:8082/safemonitor/export/table-model下载模板
    //http://39.106.34.181:8082/safemonitor/import/textual/3
    kzbReportImportData(pointId, data){
        let url = `/api/import/textual/${pointId}`;
        return this.axios.post(url,data)
    }
 }

export default profileModel;
